Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8fa11d1c authored by Alexander Shishkin's avatar Alexander Shishkin
Browse files

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: default avatarAlan Cox <alan.cox@intel.com>
Signed-off-by: default avatarAlexander Shishkin <alexander.shishkin@linux.intel.com>
Reviewed-by: default avatarLaurent Fert <laurent.fert@intel.com>
parent c8be4899
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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);