[PATCH 00/17] staging: tidspbridge: remove unused references counting

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

 



Almos all the modules in tidspbridge have a _init() and a _exit()
functions, whose only purpose is to keep a reference counting. But that
reference counting, in most of the cases, is utterly useless.

This patch series removes most of the _init() and _exit() function in
the tidspbridge modules, where no functional changes were implied.

Víctor Manuel Jáquez Leal (17):
  staging: tidspbridge: remove drv_init() and drv_exit()
  staging: tidspbridge: remove cod_init() and cod_exit()
  staging: tidspbridge: remove proc_init() and proc_exit()
  staging: tidspbridge: remove node_init() and node_exit()
  staging: tidspbridge: remove disp_init() and disp_exit()
  staging: tidspbridge: remove strm_init() and strm_exit()
  staging: tidspbridge: remove rmm_init() and rmm_exit()
  staging: tidspbridge: remove chnl_init() and chnl_exit()
  staging: tidspbridge: remove msg_mod_init() and msg_exit()
  staging: tidspbridge: remove io_init() and io_exit()
  staging: tidspbridge: remove cmm_init() and cmm_exit()
  staging: tidspbridge: remove dmm_init() and dmm_exit()
  staging: tidspbridge: remove dev_init() and dev_exit()
  staging: tidspbridge: simplify mgr_init()
  staging: tidspbridge: remove gh_init() and gh_exit()
  staging: tidspbridge: remove ref counting in nldr.c
  staging: tidspbridge: remove nldr_init() and nldr_exit()

 drivers/staging/tidspbridge/gen/gh.c               |   18 -----
 .../staging/tidspbridge/include/dspbridge/chnl.h   |   29 --------
 .../staging/tidspbridge/include/dspbridge/cmm.h    |   30 --------
 .../staging/tidspbridge/include/dspbridge/cod.h    |   29 --------
 .../staging/tidspbridge/include/dspbridge/dev.h    |   27 -------
 .../staging/tidspbridge/include/dspbridge/disp.h   |   31 --------
 .../staging/tidspbridge/include/dspbridge/dmm.h    |    4 -
 .../staging/tidspbridge/include/dspbridge/drv.h    |   23 ------
 drivers/staging/tidspbridge/include/dspbridge/gh.h |    2 -
 drivers/staging/tidspbridge/include/dspbridge/io.h |   29 --------
 .../staging/tidspbridge/include/dspbridge/msg.h    |   27 -------
 .../staging/tidspbridge/include/dspbridge/nldr.h   |    2 -
 .../tidspbridge/include/dspbridge/nldrdefs.h       |   34 ---------
 .../staging/tidspbridge/include/dspbridge/node.h   |   41 -----------
 .../tidspbridge/include/dspbridge/nodepriv.h       |    1 -
 .../staging/tidspbridge/include/dspbridge/proc.h   |   28 -------
 .../staging/tidspbridge/include/dspbridge/rmm.h    |   25 -------
 .../staging/tidspbridge/include/dspbridge/strm.h   |   38 +----------
 drivers/staging/tidspbridge/pmgr/chnl.c            |   28 -------
 drivers/staging/tidspbridge/pmgr/cmm.c             |   29 --------
 drivers/staging/tidspbridge/pmgr/cod.c             |   29 --------
 drivers/staging/tidspbridge/pmgr/dbll.c            |   12 +---
 drivers/staging/tidspbridge/pmgr/dev.c             |   50 -------------
 drivers/staging/tidspbridge/pmgr/dmm.c             |   32 --------
 drivers/staging/tidspbridge/pmgr/dspapi.c          |   75 +------------------
 drivers/staging/tidspbridge/pmgr/io.c              |   28 -------
 drivers/staging/tidspbridge/pmgr/msg.c             |   21 ------
 drivers/staging/tidspbridge/rmgr/dbdcd.c           |   15 +----
 drivers/staging/tidspbridge/rmgr/disp.c            |   25 -------
 drivers/staging/tidspbridge/rmgr/drv.c             |   26 -------
 drivers/staging/tidspbridge/rmgr/mgr.c             |    9 +--
 drivers/staging/tidspbridge/rmgr/nldr.c            |   28 -------
 drivers/staging/tidspbridge/rmgr/node.c            |   31 --------
 drivers/staging/tidspbridge/rmgr/proc.c            |   28 -------
 drivers/staging/tidspbridge/rmgr/rmm.c             |   20 -----
 drivers/staging/tidspbridge/rmgr/strm.c            |   28 -------
 36 files changed, 10 insertions(+), 922 deletions(-)

-- 
1.7.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux