summaryrefslogtreecommitdiffstats
path: root/drivers/char
diff options
context:
space:
mode:
authorGuoqing Jiang <gqjiang@suse.com>2017-07-14 17:06:15 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-07-17 17:23:17 +0200
commitba8848d415c92cfc7bbc56e2c9d4cac4e92a4a90 (patch)
tree0218012488066079939866a47f06f160d7fb4abb /drivers/char
parent7b948f1377322b0b95feee62e307b6889a09e4ea (diff)
downloadlinux-ba8848d415c92cfc7bbc56e2c9d4cac4e92a4a90.tar.bz2
ppdev: remove unused ROUND_UP macro
This macro is not used after commit 3b9ab374a1e6 ("ppdev: convert to y2038 safe"), so let's remove it. Signed-off-by: Guoqing Jiang <gqjiang@suse.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/char')
-rw-r--r--drivers/char/ppdev.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/char/ppdev.c b/drivers/char/ppdev.c
index 3e73bcdf9e65..d256110ba672 100644
--- a/drivers/char/ppdev.c
+++ b/drivers/char/ppdev.c
@@ -101,9 +101,6 @@ static DEFINE_IDA(ida_index);
#define PP_BUFFER_SIZE 1024
#define PARDEVICE_MAX 8
-/* ROUND_UP macro from fs/select.c */
-#define ROUND_UP(x,y) (((x)+(y)-1)/(y))
-
static DEFINE_MUTEX(pp_do_mutex);
/* define fixed sized ioctl cmd for y2038 migration */