[PATCH 1/1] staging: lustre/obdclass/linux/linux-module.c

From: Matthew Needes
Date: Sat Sep 05 2015 - 16:03:55 EST


Fixed sparse warning by removing unused variable "proc_version".

Signed-off-by: Matthew Needes <mneedes@xxxxxxxxx>

---
drivers/staging/lustre/lustre/obdclass/linux/linux-module.c | 2 --
1 file changed, 2 deletions(-)

diff --git a/drivers/staging/lustre/lustre/obdclass/linux/linux-module.c b/drivers/staging/lustre/lustre/obdclass/linux/linux-module.c
index 6218ef3..245ac2e 100644
--- a/drivers/staging/lustre/lustre/obdclass/linux/linux-module.c
+++ b/drivers/staging/lustre/lustre/obdclass/linux/linux-module.c
@@ -73,8 +73,6 @@
#include "../../include/lustre_ver.h"
#include "../../include/lustre/lustre_build_version.h"

-int proc_version;
-
/* buffer MUST be at least the size of obd_ioctl_hdr */
int obd_ioctl_getdata(char **buf, int *len, void *arg)
{
--
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/