]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: unisys: uislib: Fixed missing blank line coding style issue
authorTobenna P. Igwe <ptigwe@gmail.com>
Wed, 6 Aug 2014 18:59:42 +0000 (19:59 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 16 Aug 2014 19:23:08 +0000 (12:23 -0700)
Fixed coding style issue "Missing a blank line after declarations"
detected by the 'checkpatch.pl' script.

Signed-off-by: Tobenna P. Igwe <ptigwe@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/uislib/uisutils.c

index 3a59965aa9f9fdfa29e5f2c9ae5ded2d79b6e43e..423cbc4b72f9035e94dd2d8e34c1d0ec6facc192 100644 (file)
@@ -118,6 +118,7 @@ uisctrl_register_req_handler_ex(uuid_le switchTypeGuid,
 {
        ReqHandlerInfo_t *pReqHandlerInfo;
        int rc = 0;             /* assume failure */
+
        LOGINF("type=%pUL, controlfunc=0x%p.\n",
               &switchTypeGuid, controlfunc);
        if (!controlfunc) {
@@ -162,6 +163,7 @@ int
 uisctrl_unregister_req_handler_ex(uuid_le switchTypeGuid)
 {
        int rc = 0;             /* assume failure */
+
        LOGINF("type=%pUL.\n", &switchTypeGuid);
        if (ReqHandlerDel(switchTypeGuid) < 0) {
                LOGERR("failed to remove %pUL from server list\n",
@@ -250,6 +252,7 @@ uisutil_copy_fragsinfo_from_skb(unsigned char *calling_ctx, void *skb_in,
        if (skb_shinfo(skb)->frag_list) {
                struct sk_buff *skbinlist;
                int c;
+
                for (skbinlist = skb_shinfo(skb)->frag_list; skbinlist;
                     skbinlist = skbinlist->next) {
 
@@ -307,6 +310,7 @@ ReqHandlerFind(uuid_le switchTypeGuid)
 {
        struct list_head *lelt, *tmp;
        ReqHandlerInfo_t *entry = NULL;
+
        spin_lock(&ReqHandlerInfo_list_lock);
        list_for_each_safe(lelt, tmp, &ReqHandlerInfo_list) {
                entry = list_entry(lelt, ReqHandlerInfo_t, list_link);
@@ -325,6 +329,7 @@ ReqHandlerDel(uuid_le switchTypeGuid)
        struct list_head *lelt, *tmp;
        ReqHandlerInfo_t *entry = NULL;
        int rc = -1;
+
        spin_lock(&ReqHandlerInfo_list_lock);
        list_for_each_safe(lelt, tmp, &ReqHandlerInfo_list) {
                entry = list_entry(lelt, ReqHandlerInfo_t, list_link);