Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=2ef7086a207d3d899ae88602a135fe1c24e1811f
Commit:     2ef7086a207d3d899ae88602a135fe1c24e1811f
Parent:     b711afa6959e5c8f457f1687b5d4a485c7974f32
Author:     Jens Axboe <[EMAIL PROTECTED]>
AuthorDate: Wed Dec 20 11:26:11 2006 +0100
Committer:  Jens Axboe <[EMAIL PROTECTED]>
CommitDate: Mon Jul 16 08:52:45 2007 +0200

    bsg: silence a bogus gcc warning
    
    Signed-off-by: Jens Axboe <[EMAIL PROTECTED]>
---
 block/bsg.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/block/bsg.c b/block/bsg.c
index 6f05a39..9d77a0c 100644
--- a/block/bsg.c
+++ b/block/bsg.c
@@ -302,7 +302,7 @@ bsg_map_hdr(struct bsg_device *bd, struct sg_io_v4 *hdr)
 {
        request_queue_t *q = bd->queue;
        struct request *rq;
-       int ret, rw;
+       int ret, rw = 0; /* shut up gcc */
        unsigned int dxfer_len;
        void *dxferp = NULL;
 
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to