media: s5p_mfc: Remove unnecessary checking for fmt->type
authorZhaowei Yuan <zhaowei.yuan@samsung.com>
Tue, 12 Aug 2014 05:49:10 +0000 (13:49 +0800)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 03:00:41 +0000 (12:00 +0900)
commit289ae2095a24d7b53abcdb4fb884f3c96eb9711c
tree7c9ef16306ae220bd5371ff9b7659318b536acef
parent6655878923d628529d354a9a3a64b27ede2f9774
media: s5p_mfc: Remove unnecessary checking for fmt->type

If find_format(f, MFC_FMT_DEC) didn't return a NULL pointer,
then the value of fmt->type must be MFC_FMT_DEC. It's
unnecessary to check it here.

Change-Id: I6c1146d33e014465fbdf8b085f0264fd60788260
Signed-off-by: Zhaowei Yuan <zhaowei.yuan@samsung.com>
drivers/media/platform/s5p-mfc/s5p_mfc_dec.c