Commit b55d9431 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman
Browse files

greybus: Revert "camera: Fix backword compatibility in configure streams"



This reverts commit 48cc91e52dba9abad4c9b56f911994c65071bfc4 as the
caller should be changed instead.

Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
parent 11ca550c
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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);