Re: [PATCH] staging: dgnc: replace dgnc_offset_table with bit shift.

2016-03-27 Thread DaeSeok Youn
2016-03-25 22:15 GMT+09:00 walter harms : > > > Am 25.03.2016 12:33, schrieb Daeseok Youn: >> the dgnc_offset_table has a same value with (1 << port). >> So I tried to replace dgnc_offset_table array with 1 << port. >> And also there are redundant assignments(tmp and current_port)

Re: [PATCH] staging: dgnc: replace dgnc_offset_table with bit shift.

2016-03-25 Thread walter harms
Am 25.03.2016 12:33, schrieb Daeseok Youn: > the dgnc_offset_table has a same value with (1 << port). > So I tried to replace dgnc_offset_table array with 1 << port. > And also there are redundant assignments(tmp and current_port) > inside while loop for checking uart port, and remove them. > >

[PATCH] staging: dgnc: replace dgnc_offset_table with bit shift.

2016-03-25 Thread Daeseok Youn
the dgnc_offset_table has a same value with (1 << port). So I tried to replace dgnc_offset_table array with 1 << port. And also there are redundant assignments(tmp and current_port) inside while loop for checking uart port, and remove them. Signed-off-by: Daeseok Youn ---