Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Guoqing Jiang and committed by
Greg Kroah-Hartman
ba8848d4 7b948f13

-3
-3
drivers/char/ppdev.c
··· 101 101 #define PP_BUFFER_SIZE 1024 102 102 #define PARDEVICE_MAX 8 103 103 104 - /* ROUND_UP macro from fs/select.c */ 105 - #define ROUND_UP(x,y) (((x)+(y)-1)/(y)) 106 - 107 104 static DEFINE_MUTEX(pp_do_mutex); 108 105 109 106 /* define fixed sized ioctl cmd for y2038 migration */