diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2015-03-23 12:34:46 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-03-23 13:58:59 +0100 |
commit | 034f90b393a3d5c99654f048c4b22b3d05e3a345 (patch) | |
tree | b37310e6b9f930617833c2cca409b1165e96f076 /tools/net | |
parent | e311782acd196d17d25b323d115709c50c8f7d3f (diff) | |
download | linux-034f90b393a3d5c99654f048c4b22b3d05e3a345.tar.bz2 |
ALSA: ak411x: simplify snd_ak4113_create() a bit
"err" is always a negative error code here, so there is no point in
checking. Removing the check silences a static checker warning and
makes the code a bit more clear. Also we don't need to initialize "err".
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'tools/net')
0 files changed, 0 insertions, 0 deletions