提交 520656c0 编写于 作者: M Markus Elfring 提交者: Greg Kroah-Hartman

parport: ax88796: Delete an unnecessary variable initialisation in parport_ax88796_probe()

The local variable "pp" will eventually be set to an appropriate pointer
a bit later. Thus omit the explicit initialisation at the beginning.
Signed-off-by: NMarkus Elfring <elfring@users.sourceforge.net>
Signed-off-by: NSudip Mukherjee <sudipm.mukherjee@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 5e50654d
...@@ -273,7 +273,7 @@ static int parport_ax88796_probe(struct platform_device *pdev) ...@@ -273,7 +273,7 @@ static int parport_ax88796_probe(struct platform_device *pdev)
{ {
struct device *_dev = &pdev->dev; struct device *_dev = &pdev->dev;
struct ax_drvdata *dd; struct ax_drvdata *dd;
struct parport *pp = NULL; struct parport *pp;
struct resource *res; struct resource *res;
unsigned long size; unsigned long size;
int spacing; int spacing;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册