Commit 035a5814 authored by Federico Vaga's avatar Federico Vaga Committed by Alessandro Rubini

zio-trig-user.c: fix ISO C90 warning

Warning introduced by
    0994f8c7 trigger-user: arm on push only of all channels are ready
Signed-off-by: 's avatarFederico Vaga <federico.vaga@gmail.com>
Acked-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent 50077861
......@@ -40,9 +40,9 @@ struct zio_sysfs_operations ztu_s_ops = {
static int ztu_push_block(struct zio_ti *ti, struct zio_channel *chan,
struct zio_block *block)
{
pr_debug("%s:%d\n", __func__, __LINE__);
struct zio_cset *cset = chan->cset;
pr_debug("%s:%d\n", __func__, __LINE__);
if (chan->active_block)
return -EBUSY;
chan->active_block = block;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment