stm class: Remove a pointless line
No point in explicitly setting something to zero right after we explicitly checked that it is zero. Fix this. Reported-by: Alan Cox <alan.cox@intel.com> Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com> Reviewed-by: Laurent Fert <laurent.fert@intel.com> (cherry picked from commit 8fa11d1c1322f3de40a0e3f3f3e57436a204fcc4)
This commit is contained in:
parent
450abebc37
commit
5a4e9c9c9c
1 changed files with 0 additions and 2 deletions
|
@ -546,8 +546,6 @@ static int stm_char_policy_set_ioctl(struct stm_file *stmf, void __user *arg)
|
|||
if (ret)
|
||||
goto err_free;
|
||||
|
||||
ret = 0;
|
||||
|
||||
if (stm->data->link)
|
||||
ret = stm->data->link(stm->data, stmf->output.master,
|
||||
stmf->output.channel);
|
||||
|
|
Loading…
Add table
Reference in a new issue