[PATCH V3] staging: dgap: implement error handling in dgap_tty_register()

Dan Carpenter dan.carpenter at oracle.com
Mon May 19 08:06:34 UTC 2014


On Mon, May 19, 2014 at 11:10:30AM +0900, Daeseok Youn wrote:
> diff --git a/drivers/staging/dgap/dgap.c b/drivers/staging/dgap/dgap.c
> index d7cfc45..e4cb7aa 100644
> --- a/drivers/staging/dgap/dgap.c
> +++ b/drivers/staging/dgap/dgap.c
> @@ -1212,7 +1212,9 @@ static int dgap_tty_register(struct board_t *brd)
>  {
>  	int rc = 0;

Oh, and you may as well remove this initialization while you are at it.

regards,
dan carpenter



More information about the devel mailing list