[PATCH v2] drm/gma500: mdfld: Remove unncessary check

2015-06-24 Thread Maninder Singh
sender is dereferrenced before NULL check struct drm_device *dev = sender->dev; and due to there is warning during static analysis: warn: variable dereferenced before check 'sender' __read_panel_data Function is called by mdfld_dsi_read_mcs and there is a same check, Thus removing the check from

[PATCH v2] drm/gma500: mdfld: Remove unncessary check

2015-06-24 Thread Patrik Jakobsson
On Wed, Jun 24, 2015 at 1:56 PM, Maninder Singh wrote: > sender is dereferrenced before NULL check > struct drm_device *dev = sender->dev; > > and due to there is warning during static analysis: > warn: variable dereferenced before check 'sender' > > __read_panel_data Function is called by mdfld_