提交 1e55c176 编写于 作者: D Dmitry Torokhov

Input: snvs_pwrkey - remove gratuitous NULL initializers

Gratuitous NULL initializers rarely help and often prevent compiler
from warning about using uninitialized variable. Let's remove them.
Reviewed-by: NAnson Huang <Anson.Huang@nxp.com>
Link: https://lore.kernel.org/r/20191125211407.GA97812@dtor-wsSigned-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
上级 1a26c920
......@@ -108,8 +108,8 @@ static void imx_snvs_pwrkey_act(void *pdata)
static int imx_snvs_pwrkey_probe(struct platform_device *pdev)
{
struct pwrkey_drv_data *pdata = NULL;
struct input_dev *input = NULL;
struct pwrkey_drv_data *pdata;
struct input_dev *input;
struct device_node *np;
int error;
u32 vid;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册