commit | 5d2883d51d60ce34a773d4a07b468216109d9030 | [log] [tgz] |
---|---|---|
author | Fabio Estevam <fabio.estevam@nxp.com> | Wed Dec 28 14:48:47 2016 -0200 |
committer | Stefan Agner <stefan@agner.ch> | Tue Feb 07 20:26:49 2017 -0800 |
tree | 78ef38fa22ba9bafeca9da7d7f468a6fc78b774f | |
parent | 4eaa39c63caf535dc1a8cc43b9a8677a100c09e1 [diff] |
drm/fsl-dcu: remove unneeded 'ret' assignment When devm_kzalloc() fails there is no need to assign an error code to the 'ret' variable as it will not be used after jumping to the 'err_node_put' label, so just remove the assignment. Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Reviewed-by: Gabriel Krisman Bertazi <krisman@collabora.co.uk> Signed-off-by: Stefan Agner <stefan@agner.ch>