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:
Manish Poddar 2016-04-11 11:27:42 +05:30 committed by Krishnankutty Kolathappilly
parent faef6bbca7
commit dd1c15c802

View file

@ -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) {