net/wan: dscc4: remove broken dscc4 driver
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 13 Sep 2019 13:28:17 +0000 (16:28 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 Sep 2019 07:14:41 +0000 (09:14 +0200)
commit28c9eb9042a954d4e9fbec91484bddce280f1beb
tree4fccb85164bd414e600b0d46ccaa722e898afd6e
parent1f249677cf4c881d7562485c917bfb2e7f43f371
net/wan: dscc4: remove broken dscc4 driver

Using static analysis, I discovered that the "dpriv->pci_priv->pdev"
pointer is always NULL.  This pointer was supposed to be initialized
during probe and is essential for the driver to work.  It would be easy
to add a "ppriv->pdev = pdev;" to dscc4_found1() but this driver has
been broken since before we started using git and no one has complained
so probably we should just remove it.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Francois Romieu <romieu@fr.zoreil.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
MAINTAINERS
drivers/net/wan/Kconfig
drivers/net/wan/Makefile
drivers/net/wan/dscc4.c [deleted file]