• Markus Armbruster's avatar
    hmp: Remove "info pcmcia" · 7797a739
    Markus Armbruster authored
    This command lists PCMCIA sockets and cards.  Only a few ARM boards
    have sockets (akita, borzoi, connex, mainstone, spitz, terrier, tosa,
    verdex, z2), the only card is the DSCM-1xxxx Hitachi Microdrive (qdev
    "microdrive"), and it is only inserted during machine init, if ever.
    So this command doesn't really tell anybody anything new so far.
    
    Moreover, pcmcia_socket_unregister() has a use-after-free bug, flagged
    by Coverity.  Has never been used, because there has never been code
    to eject a PCMCIA card.
    
    Not worth fixing & converting to QMP.  Remove it.
    Signed-off-by: default avatarMarkus Armbruster <armbru@redhat.com>
    Acked-by: default avatarLuiz Capitulino <lcapitulino@redhat.com>
    Acked-by: default avatarAndreas Färber <afaerber@suse.de>
    Message-id: 1411144812-22958-1-git-send-email-armbru@redhat.com
    Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
    7797a739
pxa2xx.c 6.76 KB