Dead code: remove max().
authorEmil Mikulic <emikulic@gmail.com>
Sun, 10 Mar 2013 16:45:41 +0000 (03:45 +1100)
committerEmil Mikulic <emikulic@gmail.com>
Sun, 10 Mar 2013 17:26:25 +0000 (04:26 +1100)
buftee.c

index 23d2d2c..77cba3a 100644 (file)
--- a/buftee.c
+++ b/buftee.c
@@ -242,8 +242,6 @@ static int xwrite(const int fd, struct buf* const buf) {
   return (int)write_ret;
 }
 
-static int max(const int a, const int b) { return (a > b) ? a : b; }
-
 static void wait_until_readable(const int fd) {
   fd_set read_fds;
   FD_ZERO(&read_fds);