From: Curtis McEnroe Date: Fri, 3 Jun 2011 00:33:33 +0000 (-0400) Subject: tm6000: Clean up code style in tm6000-input.c X-Git-Tag: firefly_0821_release~3680^2~4924^2~510 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=41eb8d615bddd0982cc42b19144b938df40f6cc0;p=firefly-linux-kernel-4.4.55.git tm6000: Clean up code style in tm6000-input.c Removed unnecessary braces. Signed-off-by: Curtis McEnroe Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/tm6000/tm6000-input.c b/drivers/staging/tm6000/tm6000-input.c index dae2f1fdcc5b..70a2c5f557c1 100644 --- a/drivers/staging/tm6000/tm6000-input.c +++ b/drivers/staging/tm6000/tm6000-input.c @@ -449,9 +449,8 @@ int tm6000_ir_fini(struct tm6000_core *dev) rc_unregister_device(ir->rc); - if (ir->int_urb) { + if (ir->int_urb) tm6000_ir_int_stop(dev); - } kfree(ir); dev->ir = NULL;