From 559e9a6899cd3056764e4272681b64eb326df3f1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?G=C3=BCng=C3=B6r=20Erseymen?= Date: Tue, 11 Sep 2012 17:56:42 +0300 Subject: [PATCH] staging: comedi: fix brace coding style issues MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Fix coding style issues by removing unnecessary braces. Signed-off-by: Güngör Erseymen Signed-off-by: Greg Kroah-Hartman --- drivers/staging/comedi/drivers.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/staging/comedi/drivers.c b/drivers/staging/comedi/drivers.c index 5e91444b7d3d..2c21dbd89455 100644 --- a/drivers/staging/comedi/drivers.c +++ b/drivers/staging/comedi/drivers.c @@ -159,9 +159,8 @@ int comedi_device_attach(struct comedi_device *dev, struct comedi_devconfig *it) return -EBUSY; for (driv = comedi_drivers; driv; driv = driv->next) { - if (!try_module_get(driv->module)) { + if (!try_module_get(driv->module)) continue; - } if (driv->num_names) { dev->board_ptr = comedi_recognize(driv, it->board_name); if (dev->board_ptr) @@ -174,9 +173,8 @@ int comedi_device_attach(struct comedi_device *dev, struct comedi_devconfig *it) /* recognize has failed if we get here */ /* report valid board names before returning error */ for (driv = comedi_drivers; driv; driv = driv->next) { - if (!try_module_get(driv->module)) { + if (!try_module_get(driv->module)) continue; - } comedi_report_boards(driv); module_put(driv->module); } -- 2.39.5