msm: camera: Initialize return value to 0
Initialize return variable to 0 instead of
error.
CRs-fixed: 1001532
Change-Id: I81c87cac13e33e0678b3bb92f58da0699d9197c2
Signed-off-by: Manish Poddar <mpoddar@codeaurora.org>
This commit is contained in:
parent
faef6bbca7
commit
dd1c15c802
1 changed files with 1 additions and 1 deletions
|
@ -540,7 +540,7 @@ static long msm_fd_private_ioctl(struct file *file, void *fh,
|
|||
struct fd_ctx *ctx = msm_fd_ctx_from_fh(fh);
|
||||
struct msm_fd_stats *stats;
|
||||
int stats_idx;
|
||||
int ret = -EINVAL;
|
||||
int ret = 0;
|
||||
int i;
|
||||
|
||||
switch (cmd) {
|
||||
|
|
Loading…
Add table
Reference in a new issue