Signed-off-by: FUJITA Tomonori <fujita.tomonori at lab.ntt.co.jp> --- usr/bs_sg.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/usr/bs_sg.c b/usr/bs_sg.c index c8559fc..69cce9b 100644 --- a/usr/bs_sg.c +++ b/usr/bs_sg.c @@ -275,8 +275,6 @@ static int get_bsg_major(char *path) char majorno[8]; char dev[64]; char tmp[16]; - int ch; - int i; sscanf(path, "/dev/bsg/%s", tmp); sprintf(dev, "/sys/class/bsg/%s/dev", tmp); -- 1.7.1 -- To unsubscribe from this list: send the line "unsubscribe stgt" in the body of a message to majordomo at vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html |