Re: [PATCH] Bluetooth: clean up rfcomm code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Andrei,

* Marcel Holtmann <marcel@xxxxxxxxxxxx> [2010-10-05 09:53:56 +0200]:

> Hi Andrei,
> 
> > Remove dead code and unused rfcomm thread events
> > 
> > Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@xxxxxxxxx>
> > ---
> >  include/net/bluetooth/rfcomm.h |    5 -----
> >  net/bluetooth/rfcomm/core.c    |   29 ++++++++++++++---------------
> >  2 files changed, 14 insertions(+), 20 deletions(-)
> > 
> > diff --git a/include/net/bluetooth/rfcomm.h b/include/net/bluetooth/rfcomm.h
> > index a140847..71047bc 100644
> > --- a/include/net/bluetooth/rfcomm.h
> > +++ b/include/net/bluetooth/rfcomm.h
> > @@ -213,11 +213,6 @@ struct rfcomm_dlc {
> >  #define RFCOMM_DEFER_SETUP  8
> >  
> >  /* Scheduling flags and events */
> > -#define RFCOMM_SCHED_STATE  0
> > -#define RFCOMM_SCHED_RX     1
> > -#define RFCOMM_SCHED_TX     2
> > -#define RFCOMM_SCHED_TIMEO  3
> > -#define RFCOMM_SCHED_AUTH   4
> >  #define RFCOMM_SCHED_WAKEUP 31
> 
> we had some big ambition to use these, but never did in the end or
> realized that they are not needed. So I am fine with removing these.
> 
> Acked-by: Marcel Holtmann <marcel@xxxxxxxxxxxx>

Patch has been applied. Thanks.


-- 
Gustavo F. Padovan
ProFUSION embedded systems - http://profusion.mobi
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux