lkml.org 
[lkml]   [2016]   [Sep]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2] ASoC: rockchip: i2s: restore register during runtime_suspend/resume cycle
On Tue, Sep 06, 2016 at 09:19:53AM +0800, Sugar Zhang wrote:

> struct rk_i2s_dev *i2s = dev_get_drvdata(dev);
> - int ret;
> + int ret = 0;
>

Why are you initializing this? All this will do is stop the compiler
warning you about use without initializaiton bugs.
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2016-09-17 09:58    [W:0.273 / U:0.000 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site