devices: Trivial coding style fix
* block statement doesn't need a semicolon.
* put closing curly bracket of function on a new line.
Signed-off-by: Namhyung Kim <namhyung@gmail.com>
diff --git a/src/devices/rfkill.cpp b/src/devices/rfkill.cpp
index 750175c..2404432 100644
--- a/src/devices/rfkill.cpp
+++ b/src/devices/rfkill.cpp
@@ -63,11 +63,12 @@
sprintf(filename, "%s/device/driver", path);
if (readlink(filename, line, 4096) > 0) {
sprintf(humanname, _("Radio device: %s"), basename(line));
- };
+ }
sprintf(filename, "%s/device/device/driver", path);
if (readlink(filename, line, 4096) > 0) {
sprintf(humanname, _("Radio device: %s"), basename(line));
- }}
+ }
+}
void rfkill::start_measurement(void)
{