aboutsummaryrefslogtreecommitdiff
path: root/lib/memweight.c
diff options
context:
space:
mode:
authorMax Kellermann2016-08-09 18:32:11 -0300
committerMauro Carvalho Chehab2016-11-18 15:02:39 -0200
commit1f4ed6cd58f36574237926f35bdec50116669909 (patch)
tree1c9da70bf6753eaa1c91ab7627d40b02f8f8a35f /lib/memweight.c
parentbd336e63441bcdeeccca6a698087d913a32478c5 (diff)
[media] dvbdev: split dvb_unregister_device()
dvb_unregister_device() has a major problem: it combines unregistering with memory disposal. Sometimes, it is necessary to unregister a device, but no memory can be freed yet, because a process still has a (stale) file handle. Therefore, we need to split dvb_unregister_device(). This will allow sanitizing a few callers. With my new design, dvb_unregister_device() appears misnamed, but to reduce patch noise, I'm not renaming it just yet. Signed-off-by: Max Kellermann <max.kellermann@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'lib/memweight.c')
0 files changed, 0 insertions, 0 deletions