Skip to content

Commit

Permalink
tty/hvc_vio: FW_FEATURE_ISERIES is no longer selectable
Browse files Browse the repository at this point in the history
so remove the code that tests for it.

Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
  • Loading branch information
Stephen Rothwell authored and Benjamin Herrenschmidt committed Mar 21, 2012
1 parent fb700d3 commit ec86b45
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions drivers/tty/hvc/hvc_vio.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@
#include <asm/hvconsole.h>
#include <asm/vio.h>
#include <asm/prom.h>
#include <asm/firmware.h>
#include <asm/hvsi.h>
#include <asm/udbg.h>

Expand Down Expand Up @@ -322,9 +321,6 @@ static int __init hvc_vio_init(void)
{
int rc;

if (firmware_has_feature(FW_FEATURE_ISERIES))
return -EIO;

/* Register as a vio device to receive callbacks */
rc = vio_register_driver(&hvc_vio_driver);

Expand Down

0 comments on commit ec86b45

Please sign in to comment.