Skip to content

Commit ba8848d

Browse files
GuoqingJianggregkh
authored andcommitted
ppdev: remove unused ROUND_UP macro
This macro is not used after commit 3b9ab37 ("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>
1 parent 7b948f1 commit ba8848d

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

‎drivers/char/ppdev.c‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,6 @@ static DEFINE_IDA(ida_index);
101101
#define PP_BUFFER_SIZE 1024
102102
#define PARDEVICE_MAX 8
103103

104-
/* ROUND_UP macro from fs/select.c */
105-
#define ROUND_UP(x,y) (((x)+(y)-1)/(y))
106-
107104
static DEFINE_MUTEX(pp_do_mutex);
108105

109106
/* define fixed sized ioctl cmd for y2038 migration */

0 commit comments

Comments
 (0)