From e556a79e3d0c2ee2cfea1e11396806fd278344d9 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Fri, 6 Nov 2015 18:14:54 +0000 Subject: [PATCH] scst_vdisk: Do not initialize static variables to zero Detected by checkpatch. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6602 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scst/src/dev_handlers/scst_vdisk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scst/src/dev_handlers/scst_vdisk.c b/scst/src/dev_handlers/scst_vdisk.c index 04cdf447a..ff73a2e77 100644 --- a/scst/src/dev_handlers/scst_vdisk.c +++ b/scst/src/dev_handlers/scst_vdisk.c @@ -7383,7 +7383,7 @@ static void vdev_ext_copy_remap(struct scst_cmd *cmd, struct scst_ext_copy_seg_descr *seg) { struct scst_ext_copy_data_descr *d; - static int shift = 0; + static int shift; static DEFINE_SPINLOCK(lock); int s;