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

Dan Carpenter
2014-05-19T08:06:55Z

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