checkpatch was complaining about braces for single statement block.
Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* neither of us gets unloaded while we sleep in (e.g.)
* kmalloc.
*/
- if (!try_module_get(port->ops->owner)) {
+ if (!try_module_get(port->ops->owner))
return NULL;
- }
parport_get_port (port);
if (dev->waiting) {
wait_event_interruptible(dev->wait_q,
!dev->waiting);
- if (signal_pending (current)) {
+ if (signal_pending (current))
return -EINTR;
- }
r = 1;
} else {
r = 0;