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

Commit 13efa75d authored by Sudip Mukherjee's avatar Sudip Mukherjee Committed by Greg Kroah-Hartman
Browse files

parport: remove braces



checkpatch was complaining about braces for single statement block.

Signed-off-by: default avatarSudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent a162188f
Loading
Loading
Loading
Loading
+2 −4
Original line number Original line Diff line number Diff line
@@ -735,9 +735,8 @@ parport_register_device(struct parport *port, const char *name,
	 * neither of us gets unloaded while we sleep in (e.g.)
	 * neither of us gets unloaded while we sleep in (e.g.)
	 * kmalloc.
	 * kmalloc.
	 */
	 */
	if (!try_module_get(port->ops->owner)) {
	if (!try_module_get(port->ops->owner))
		return NULL;
		return NULL;
	}


	parport_get_port (port);
	parport_get_port (port);


@@ -1261,9 +1260,8 @@ int parport_claim_or_block(struct pardevice *dev)
		if (dev->waiting) {
		if (dev->waiting) {
			wait_event_interruptible(dev->wait_q,
			wait_event_interruptible(dev->wait_q,
						 !dev->waiting);
						 !dev->waiting);
			if (signal_pending (current)) {
			if (signal_pending (current))
				return -EINTR;
				return -EINTR;
			}
			r = 1;
			r = 1;
		} else {
		} else {
			r = 0;
			r = 0;