Staging: comedi: Removed unnecessary "extern" from do_become_nonbusy()
PATCH 1/1 Staging: comedi: Removed unnecessary "extern" from do_become_nonbusy()
Removed unnecessary "extern" label from do_become_nonbusy() function to make checkpatch.pl happy
Signed-off-by Johannes Thumshirn <[email protected]>
--- drivers/staging/comedi/comedi_fops.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)
drivers/staging/comedi/comedi_fops.c +1 -2
@@ -101,8 +101,7 @@ static int do_insn_ioctl(struct comedi_device *dev,static int do_poll_ioctl (struct comedi_device *dev,unsigned int subd,void *file); -extern void do_become_nonbusy (struct comedi_device *dev, -struct comedi_subdevice *s); +void do_become_nonbusy (struct comedi_device *dev,struct comedi_subdevice *s);static int do_cancel (struct comedi_device *dev,struct comedi_subdevice *s);static int comedi_fasync (int fd,struct file *file,int on);
Signature · 1 line
1.7.4.1
Quoted 13 lines · Johannes Thumshirn
Removed unnecessary "extern" label from
do_become_nonbusy()function to make checkpatch.pl happySigned-off-by Johannes Thumshirn <[email protected]>--- drivers/staging/comedi/comedi_fops.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)drivers/staging/comedi/comedi_fops.c +0
-0
drivers/staging/comedi/comedi_fops.c static int do_insn_ioctl(struct comedi_device *dev, · line 104
Quoted 6 lines
drivers/staging/comedi/comedi_fops.c +1
-2@@ -101,8 +101,7 @@ static int do_insn_ioctl(struct comedi_device *dev,static int do_poll_ioctl (struct comedi_device *dev,unsigned int subd,void *file); -extern void do_become_nonbusy (struct comedi_device *dev, -struct comedi_subdevice *s); +void do_become_nonbusy (struct comedi_device *dev,struct comedi_subdevice *s);
This patch does not apply, what tree did you make it against?
Please try it against the latest linux-next tree and resend it.
thanks,
greg k-h