Re: [PATCH 1/2 RESEND] staging: dgnc: remove redundant NULL checks in

2016-06-20 Thread DaeSeok Youn
2016-06-16 18:23 GMT+09:00 DaeSeok Youn : > 2016-05-10 15:44 GMT+09:00 Daeseok Youn : >> The dgnc_block_til_ready() is only used in dgnc_tty_open(). >> The unit data(struct un_t) was stored into tty->driver_data in >> dgnc_tty_open(). >> And also

Re: [PATCH 1/2 RESEND] staging: dgnc: remove redundant NULL checks in

2016-06-20 Thread DaeSeok Youn
2016-06-16 18:23 GMT+09:00 DaeSeok Youn : > 2016-05-10 15:44 GMT+09:00 Daeseok Youn : >> The dgnc_block_til_ready() is only used in dgnc_tty_open(). >> The unit data(struct un_t) was stored into tty->driver_data in >> dgnc_tty_open(). >> And also tty and un were tested about NULL so these

Re: [PATCH 1/2 RESEND] staging: dgnc: remove redundant NULL checks in

2016-06-16 Thread DaeSeok Youn
2016-05-10 15:44 GMT+09:00 Daeseok Youn : > The dgnc_block_til_ready() is only used in dgnc_tty_open(). > The unit data(struct un_t) was stored into tty->driver_data in > dgnc_tty_open(). > And also tty and un were tested about NULL so these variables doesn't > need to

Re: [PATCH 1/2 RESEND] staging: dgnc: remove redundant NULL checks in

2016-06-16 Thread DaeSeok Youn
2016-05-10 15:44 GMT+09:00 Daeseok Youn : > The dgnc_block_til_ready() is only used in dgnc_tty_open(). > The unit data(struct un_t) was stored into tty->driver_data in > dgnc_tty_open(). > And also tty and un were tested about NULL so these variables doesn't > need to check for NULL in

[PATCH 1/2 RESEND] staging: dgnc: remove redundant NULL checks in

2016-05-10 Thread Daeseok Youn
The dgnc_block_til_ready() is only used in dgnc_tty_open(). The unit data(struct un_t) was stored into tty->driver_data in dgnc_tty_open(). And also tty and un were tested about NULL so these variables doesn't need to check for NULL in dgnc_block_til_ready(). Signed-off-by: Daeseok Youn

[PATCH 1/2 RESEND] staging: dgnc: remove redundant NULL checks in

2016-05-10 Thread Daeseok Youn
The dgnc_block_til_ready() is only used in dgnc_tty_open(). The unit data(struct un_t) was stored into tty->driver_data in dgnc_tty_open(). And also tty and un were tested about NULL so these variables doesn't need to check for NULL in dgnc_block_til_ready(). Signed-off-by: Daeseok Youn ---