Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934402AbbDWNwI (ORCPT ); Thu, 23 Apr 2015 09:52:08 -0400 Received: from mail-am1on0114.outbound.protection.outlook.com ([157.56.112.114]:60093 "EHLO emea01-am1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S934298AbbDWNwE convert rfc822-to-8bit (ORCPT ); Thu, 23 Apr 2015 09:52:04 -0400 X-Greylist: delayed 2870 seconds by postgrey-1.27 at vger.kernel.org; Thu, 23 Apr 2015 09:52:04 EDT From: "Gujulan Elango, Hari Prasath (H.)" To: "gregkh@linuxfoundation.org" CC: "devel@driverdev.osuosl.org" , "linux-kernel@vger.kernel.org" , "iskaranth@gmail.com" , "somyaanand214@gmail.com" , "alan@linux.intel.com" Subject: [PATCH] staging: i2o: Remove unwanted semicolon Thread-Topic: [PATCH] staging: i2o: Remove unwanted semicolon Thread-Index: AQHQfctqI028JNp64ESN0CN0zFHYaQ== Date: Thu, 23 Apr 2015 13:43:01 +0000 Message-ID: <20150423133751.GA10268@IND12F0122> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: linuxfoundation.org; dkim=none (message not signed) header.d=none; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [74.112.164.116] x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:AM3PR06MB1153; x-forefront-antispam-report: BMV:1;SFV:NSPM;SFS:(10019020)(979002)(6009001)(46102003)(102836002)(2501003)(40100003)(110136001)(2900100001)(19580405001)(33716001)(92566002)(62966003)(77156002)(50986999)(2860100001)(122556002)(2656002)(106116001)(229853001)(2351001)(54356999)(87936001)(86362001)(33656002)(19580395003)(66066001)(26123001)(969003)(989001)(999001)(1009001)(1019001);DIR:OUT;SFP:1102;SCL:1;SRVR:AM3PR06MB1153;H:AM3PR06MB1154.eurprd06.prod.outlook.com;FPR:;SPF:None;MLV:ovrnspm;PTR:InfoNoRecords;LANG:en; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(601004)(5002010)(5005006);SRVR:AM3PR06MB1153;BCL:0;PCL:0;RULEID:;SRVR:AM3PR06MB1153; x-forefront-prvs: 0555EC8317 Content-Type: text/plain; charset="us-ascii" Content-ID: <94F3E1EF42180247B017B59E61DDD624@eurprd06.prod.outlook.com> Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 X-OriginatorOrg: visteon.com X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Apr 2015 13:43:01.7755 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 7a147aaf-01ec-498c-80a1-e34a8c63c548 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM3PR06MB1153 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 4931 Lines: 216 This patch removes unwanted semicolon around close braces of code blocks Signed-off-by: Hari Prasath --- drivers/staging/i2o/iop.c | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/drivers/staging/i2o/iop.c b/drivers/staging/i2o/iop.c index 23bdbe4..18dcc34 100644 --- a/drivers/staging/i2o/iop.c +++ b/drivers/staging/i2o/iop.c @@ -75,7 +75,7 @@ struct i2o_message *i2o_msg_get_wait(struct i2o_controller *c, int wait) } return msg; -}; +} #if BITS_PER_LONG == 64 /** @@ -123,7 +123,7 @@ u32 i2o_cntxt_list_add(struct i2o_controller * c, void *ptr) osm_debug("%s: Add context to list %p -> %d\n", c->name, ptr, context); return entry->context; -}; +} /** * i2o_cntxt_list_remove - Remove a pointer from the context list @@ -159,7 +159,7 @@ u32 i2o_cntxt_list_remove(struct i2o_controller * c, void *ptr) context, ptr); return context; -}; +} /** * i2o_cntxt_list_get - Get a pointer from the context list and remove it @@ -192,7 +192,7 @@ void *i2o_cntxt_list_get(struct i2o_controller *c, u32 context) ptr); return ptr; -}; +} /** * i2o_cntxt_list_get_ptr - Get a context id from the context list @@ -224,7 +224,7 @@ u32 i2o_cntxt_list_get_ptr(struct i2o_controller * c, void *ptr) ptr, context); return context; -}; +} #endif /** @@ -245,7 +245,7 @@ struct i2o_controller *i2o_find_iop(int unit) } return NULL; -}; +} /** * i2o_iop_find_device - Find a I2O device on an I2O controller @@ -266,7 +266,7 @@ struct i2o_device *i2o_iop_find_device(struct i2o_controller *c, u16 tid) return dev; return NULL; -}; +} /** * i2o_quiesce_controller - quiesce controller @@ -308,7 +308,7 @@ static int i2o_iop_quiesce(struct i2o_controller *c) i2o_status_get(c); // Entered READY state return rc; -}; +} /** * i2o_iop_enable - move controller from ready to OPERATIONAL @@ -348,7 +348,7 @@ static int i2o_iop_enable(struct i2o_controller *c) i2o_status_get(c); // entered OPERATIONAL state return rc; -}; +} /** * i2o_iop_quiesce_all - Quiesce all I2O controllers on the system @@ -363,7 +363,7 @@ static inline void i2o_iop_quiesce_all(void) if (!c->no_quiesce) i2o_iop_quiesce(c); } -}; +} /** * i2o_iop_enable_all - Enables all controllers on the system @@ -376,7 +376,7 @@ static inline void i2o_iop_enable_all(void) list_for_each_entry_safe(c, tmp, &i2o_controllers, list) i2o_iop_enable(c); -}; +} /** * i2o_clear_controller - Bring I2O controller into HOLD state @@ -581,7 +581,7 @@ static int i2o_iop_reset(struct i2o_controller *c) i2o_iop_enable_all(); return rc; -}; +} /** * i2o_iop_activate - Bring controller up to HOLD @@ -650,7 +650,7 @@ static int i2o_iop_activate(struct i2o_controller *c) } return i2o_hrt_get(c); -}; +} static void i2o_res_alloc(struct i2o_controller *c, unsigned long flags) { @@ -779,7 +779,7 @@ static int i2o_iop_online(struct i2o_controller *c) return rc; return 0; -}; +} /** * i2o_iop_remove - Remove the I2O controller from the I2O core @@ -891,7 +891,7 @@ static int i2o_systab_build(void) systab->num_entries = count; return 0; -}; +} /** * i2o_parse_hrt - Parse the hardware resource table. @@ -905,7 +905,7 @@ static int i2o_parse_hrt(struct i2o_controller *c) { i2o_dump_hrt(c); return 0; -}; +} /** * i2o_status_get - Get the status block from the I2O controller @@ -1029,7 +1029,7 @@ static void i2o_iop_release(struct device *dev) struct i2o_controller *c = to_i2o_controller(dev); i2o_iop_free(c); -}; +} /** * i2o_iop_alloc - Allocate and initialize a i2o_controller struct @@ -1062,7 +1062,7 @@ struct i2o_controller *i2o_iop_alloc(void) I2O_MSG_INPOOL_MIN)) { kfree(c); return ERR_PTR(-ENOMEM); - }; + } INIT_LIST_HEAD(&c->devices); spin_lock_init(&c->lock); @@ -1081,7 +1081,7 @@ struct i2o_controller *i2o_iop_alloc(void) #endif return c; -}; +} /** * i2o_iop_add - Initialize the I2O controller and add him to the I2O core @@ -1145,7 +1145,7 @@ int i2o_iop_add(struct i2o_controller *c) i2o_iop_reset(c); return rc; -}; +} /** * i2o_event_register - Turn on/off event notification for a I2O device @@ -1181,7 +1181,7 @@ int i2o_event_register(struct i2o_device *dev, struct i2o_driver *drv, i2o_msg_post(c, msg); return 0; -}; +} /** * i2o_iop_init - I2O main initialization function @@ -1231,7 +1231,7 @@ static void __exit i2o_iop_exit(void) i2o_pci_exit(); i2o_exec_exit(); i2o_driver_exit(); -}; +} module_init(i2o_iop_init); module_exit(i2o_iop_exit); -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/