[IRDA]: IrCOMM discovery indication simplification
authorRyan Reading <ryanr23@gmail.com>
Thu, 18 Oct 2007 02:34:11 +0000 (19:34 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 18 Oct 2007 02:34:11 +0000 (19:34 -0700)
commitc310f099be953a20b5fabed341ad085f444cf2bd
tree48009241c4b72e68460a0c94002a3d4d3a6a7427
parentbd5435e76a226b7151ae5aaee2cd366ab003dd2e
[IRDA]: IrCOMM discovery indication simplification

From: Ryan Reading <ryanr23@gmail.com>

Every IrCOMM socket is registered with the discovery subsystem, so we don't
need to loop over all of them for every discovery event. We just need to
do it for the registered IrCOMM socket.

Signed-off-by: Samuel Ortiz <samuel@sortiz.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/irda/ircomm/ircomm_tty_attach.c