Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c3ba2678 authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Greg Kroah-Hartman
Browse files

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: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 18a8e8c5
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -460,12 +460,12 @@ 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;
}
}

/*
 * The auto_attach hook is called at PCI probe time via