mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-04-29 17:35:36 -04:00
staging: comedi: amplc_pc236: checkpatch.pl cleanup (else after return)
Fix these checkpatch.pl warnings: WARNING: else is not generally useful after a break or return Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Cc: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
18a8e8c538
commit
c3ba2678d0
@@ -460,11 +460,11 @@ static int pc236_attach(struct comedi_device *dev, struct comedi_devconfig *it)
|
||||
if (!pci_dev)
|
||||
return -EIO;
|
||||
return pc236_pci_common_attach(dev, pci_dev);
|
||||
} else {
|
||||
dev_err(dev->class_dev, PC236_DRIVER_NAME
|
||||
": BUG! cannot determine board type!\n");
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
dev_err(dev->class_dev, PC236_DRIVER_NAME
|
||||
": BUG! cannot determine board type!\n");
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user