diff options
author | Noe Rubinstein <nrubinstein@proformatique.com> | 2010-08-16 15:46:55 +0200 |
---|---|---|
committer | Noe Rubinstein <nrubinstein@proformatique.com> | 2010-08-16 15:46:55 +0200 |
commit | 5a56b078a7aa178dac2707a7d60d850e3ebed25b (patch) | |
tree | 1e68f3d9f03ae44f7e62244b62d2172e636bf4d4 /xhfc | |
parent | a91059199e9e48737ba18b56f0dd7f304c866d23 (diff) | |
parent | b62d959c2fcc8d951740a38c8e39f71166860d34 (diff) |
Merge branch 'master' of hard:git/drivers
Diffstat (limited to 'xhfc')
-rw-r--r-- | xhfc/xhfc.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/xhfc/xhfc.c b/xhfc/xhfc.c index e4f43db..c49fc93 100644 --- a/xhfc/xhfc.c +++ b/xhfc/xhfc.c @@ -1256,13 +1256,7 @@ static int __init xhfc_init(void) printk(KERN_INFO DRIVER_NAME " HDLC test %d cards installed\n", card_cnt); - /* there is no such thing as SoC on-die hotplugging -- neither does - * on PCB system-on live soldering exists */ - if (err == 0) { - err = -ENODEV; - pci_unregister_driver(&xhfc_driver); - goto out; - } + /* XXX fail with error if no cards detected */ return 0; |