mirror of
https://github.com/torvalds/linux.git
synced 2024-12-29 14:21:47 +00:00
Staging: comedi: comment out useless if
This if test doesn't do anything, so comment it out. Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
8629efa4cb
commit
c4d30ee861
@ -361,8 +361,10 @@ int subdev_8255_init_irq(struct comedi_device *dev, struct comedi_subdevice * s,
|
|||||||
void subdev_8255_cleanup(struct comedi_device *dev, struct comedi_subdevice * s)
|
void subdev_8255_cleanup(struct comedi_device *dev, struct comedi_subdevice * s)
|
||||||
{
|
{
|
||||||
if (s->private) {
|
if (s->private) {
|
||||||
if (subdevpriv->have_irq) {
|
/* this test does nothing, so comment it out
|
||||||
}
|
* if (subdevpriv->have_irq) {
|
||||||
|
* }
|
||||||
|
*/
|
||||||
|
|
||||||
kfree(s->private);
|
kfree(s->private);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user