Re: [PATCH 1/7] staging: dgap: remove useless variable

2014-08-13 Thread Dan Carpenter
On Tue, Aug 12, 2014 at 09:28:13AM +0900, DaeSeok Youn wrote: Hi, Dan 2014-08-11 19:56 GMT+09:00 Dan Carpenter dan.carpen...@oracle.com: On Sat, Aug 09, 2014 at 02:36:44PM +0900, Daeseok Youn wrote: dgap_major_serial_registered and dgap_major_transparent_print_registered could be checked

Re: [PATCH 1/7] staging: dgap: remove useless variable

2014-08-11 Thread Dan Carpenter
On Sat, Aug 09, 2014 at 02:36:44PM +0900, Daeseok Youn wrote: dgap_major_serial_registered and dgap_major_transparent_print_registered could be checked whether a board is initialized. But it doesn't need to check that variables becasue dgap module isn't calling the dgap_cleanup_tty() without

Re: [PATCH 1/7] staging: dgap: remove useless variable

2014-08-11 Thread DaeSeok Youn
Hi, Dan 2014-08-11 19:56 GMT+09:00 Dan Carpenter dan.carpen...@oracle.com: On Sat, Aug 09, 2014 at 02:36:44PM +0900, Daeseok Youn wrote: dgap_major_serial_registered and dgap_major_transparent_print_registered could be checked whether a board is initialized. But it doesn't need to check that

[PATCH 1/7] staging: dgap: remove useless variable

2014-08-08 Thread Daeseok Youn
dgap_major_serial_registered and dgap_major_transparent_print_registered could be checked whether a board is initialized. But it doesn't need to check that variables becasue dgap module isn't calling the dgap_cleanup_tty() without initializing for a board completely. Signed-off-by: Daeseok Youn