drm/atmel-hlcdc: remove unnecessary if statement
authorStefan Agner <stefan@agner.ch>
Mon, 7 Aug 2017 06:22:24 +0000 (23:22 -0700)
committerStefan Agner <stefan@agner.ch>
Mon, 7 Aug 2017 06:24:30 +0000 (23:24 -0700)
commita967204ba44dac4f3db8b651904e4621ad96db9e
treea0b806cc47c295a85015b30fd850bc33055f90dd
parent0222b61ea05c452540de7f00534d7d62ab0c1328
drm/atmel-hlcdc: remove unnecessary if statement

The statement always evaluates to true since the struct fields
are arrays. This has shown up as a warning when compiling with
clang:
  warning: address of array 'desc->layout.xstride' will always
      evaluate to 'true' [-Wpointer-bool-conversion]

Signed-off-by: Stefan Agner <stefan@agner.ch>
drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c