20 May
2015
20 May
'15
9:48 a.m.
On Wed, May 20, 2015 at 10:40:35AM +0300, Dan Carpenter wrote:
Static checkers complain that "ret" is always zero so the conditions are never true.
The intention here was clearly to check for errors from wm8741_set_pdata(). Although, since wm8741_set_pdata() never returns errors, it doesn't affect runtime.
Fixes: c354b54cfdf6 ('ASoC: wm8741: Add differential mono mode support') Signed-off-by: Dan Carpenter dan.carpenter@oracle.com
Acked-by: Charles Keepax ckeepax@opensource.wolfsonmicro.com
Thanks, Charles