diff options
author | Jiri Slaby <jslaby@suse.cz> | 2012-06-04 13:35:15 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-06-12 15:50:23 -0700 |
commit | 718c4ca1f721be3ae67f9ff7d43b9a910e4a1ec3 (patch) | |
tree | 72e4e17b5b3ef534c823c21efdb2ab2d743fca80 /net/irda/ircomm/ircomm_tty_attach.c | |
parent | ee4cd1b225368abed7e0f4d344f1e9a93e87b98e (diff) | |
download | op-kernel-dev-718c4ca1f721be3ae67f9ff7d43b9a910e4a1ec3.zip op-kernel-dev-718c4ca1f721be3ae67f9ff7d43b9a910e4a1ec3.tar.gz |
TTY: cyclades, add local pointer for card
cy_pci_probe and cy_detect_isa reference cy_card[card_no] many times.
It makes the code hard to read. Let us add a local variable holding a
pointer to the card indexed by card_no and use that.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/irda/ircomm/ircomm_tty_attach.c')
0 files changed, 0 insertions, 0 deletions