Re: [patch] iwl: cleanup: remove unneeded error handling

From: Dan Carpenter
Date: Fri Apr 30 2010 - 13:32:34 EST


On Thu, Apr 29, 2010 at 10:12:14AM +0800, Zhu Yi wrote:
>
> Thanks. But looks like you missed the one in if_sdio_debugfs_init().
>

Yup.

> I don't think we even need to check -ENODEV ourselves because if
> DEBUG_FS is not compiled in, all the debugfs utility functions will
> become no-op.
>

Good point.

> Signed-off-by: Dan Carpenter <error27@xxxxxxxxx>

Probably this could get changed to just "Reported-by" but I'm happy to
take credit for other peoples work. :)

> Signed-off-by: Zhu Yi <yi.zhu@xxxxxxxxx>
>

Acked-by: Dan Carpenter <error27@xxxxxxxxx>

regards,
dan carpenter

--
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/