From b55d9431d62d6ce762d4b50ec93bbb81dce783c6 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Fri, 15 Jan 2016 14:41:02 -0800 Subject: [PATCH] greybus: Revert "camera: Fix backword compatibility in configure streams" This reverts commit 48cc91e52dba9abad4c9b56f911994c65071bfc4 as the caller should be changed instead. Signed-off-by: Greg Kroah-Hartman --- drivers/staging/greybus/camera.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/greybus/camera.c b/drivers/staging/greybus/camera.c index 8b214337c4f9..deb55da9032e 100644 --- a/drivers/staging/greybus/camera.c +++ b/drivers/staging/greybus/camera.c @@ -352,8 +352,6 @@ static int gb_camera_op_configure_streams(void *priv, unsigned int nstreams, streams[i].pixel_code = gb_camera_gb_to_mbus(gb_streams[i].format); } - /* For backward compatibility return number of streams in ret code */ - ret = nstreams; done: kfree(gb_streams); -- 2.20.1