From 027360c5644b59d99db30e3515a8ec72350207b9 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Tue, 21 Sep 2010 16:58:00 -0700 Subject: Staging: line6: minor coding style cleanups This fixes up all of the remaining coding style issues that make any sense to make in the line6 driver. Cc: Markus Grabner Signed-off-by: Greg Kroah-Hartman --- drivers/staging/line6/driver.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'drivers/staging/line6/driver.h') diff --git a/drivers/staging/line6/driver.h b/drivers/staging/line6/driver.h index 01fa27e75774..553192f49317 100644 --- a/drivers/staging/line6/driver.h +++ b/drivers/staging/line6/driver.h @@ -70,10 +70,12 @@ do { \ return err; \ } while (0) -#define CHECK_STARTUP_PROGRESS(x, n) \ - if((x) >= (n)) \ - return; \ - x = (n); +#define CHECK_STARTUP_PROGRESS(x, n) \ +do { \ + if ((x) >= (n)) \ + return; \ + x = (n); \ +} while (0) extern const unsigned char line6_midi_id[3]; extern struct usb_line6 *line6_devices[LINE6_MAX_DEVICES]; -- cgit v1.2.3-55-g7522