]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
staging: lustre: ptlrpc: remove an unnecessary semicolon
authorKristina Martsenko <kristina.martsenko@gmail.com>
Mon, 11 Nov 2013 19:35:00 +0000 (21:35 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Nov 2013 09:34:10 +0000 (18:34 +0900)
Remove an unnecessary semicolon and remove a space before another one to
comply with coding style.

Fix the following type of checkpatch warning:
WARNING: space prohibited before semicolon

Signed-off-by: Kristina Martsenko <kristina.martsenko@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/ptlrpc/client.c

index a5b5caabf2e8283bbf1aeb96096b897f5b94037f..777f9314d6c4a3426d335fb2a02c96c6f2bdb7f9 100644 (file)
@@ -200,7 +200,7 @@ void __ptlrpc_free_bulk(struct ptlrpc_bulk_desc *desc, int unpin)
                class_import_put(desc->bd_import);
 
        if (unpin) {
-               for (i = 0; i < desc->bd_iov_count ; i++)
+               for (i = 0; i < desc->bd_iov_count; i++)
                        page_cache_release(desc->bd_iov[i].kiov_page);
        }
 
@@ -1039,7 +1039,7 @@ static int ptlrpc_import_delay_req(struct obd_import *imp,
                *status = -EIO;
        } else if (req->rq_send_state == LUSTRE_IMP_CONNECTING &&
                   imp->imp_state == LUSTRE_IMP_CONNECTING) {
-               /* allow CONNECT even if import is invalid */ ;
+               /* allow CONNECT even if import is invalid */
                if (atomic_read(&imp->imp_inval_count) != 0) {
                        DEBUG_REQ(D_ERROR, req, "invalidate in flight");
                        *status = -EIO;