Re: [PATCH] target_core_alua: silence GCC warning

From: Geert Uytterhoeven
Date: Wed Feb 19 2014 - 04:59:34 EST


On Wed, Feb 19, 2014 at 10:52 AM, Paul Bolle <pebolle@xxxxxxxxxx> wrote:
> - ret = core_alua_state_nonoptimized(cmd, cdb,
> - nonop_delay_msecs, &alua_ascq);
> + core_alua_state_nonoptimized(cmd, cdb, nonop_delay_msecs);

I suggest making core_alua_state_nonoptimized() return void, too.
Currently it always returns zero.

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
--
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/