Commit ba8848d4 authored by Guoqing Jiang's avatar Guoqing Jiang Committed by Greg Kroah-Hartman

ppdev: remove unused ROUND_UP macro

This macro is not used after commit 3b9ab374
("ppdev: convert to y2038 safe"), so let's remove
it.
Signed-off-by: default avatarGuoqing Jiang <gqjiang@suse.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 7b948f13
...@@ -101,9 +101,6 @@ static DEFINE_IDA(ida_index); ...@@ -101,9 +101,6 @@ static DEFINE_IDA(ida_index);
#define PP_BUFFER_SIZE 1024 #define PP_BUFFER_SIZE 1024
#define PARDEVICE_MAX 8 #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); static DEFINE_MUTEX(pp_do_mutex);
/* define fixed sized ioctl cmd for y2038 migration */ /* define fixed sized ioctl cmd for y2038 migration */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment