Tag: 7e910357f620bbebe5c5cb038b70d408e624522f

atm: idt77252: Remove redundant error check

Author: Peter Senna Tschudin <peter.senna@gmail.com> Remove double checks, convert printk to pr_warn, and move the call to pr_warn to the first check. The simplified version of the coccinelle semantic patch that find this issue is as follows: // @@ expression E; identifier pr; expression list es; @@ while(…){ … – if (E) break; + if …

Continue reading