summaryrefslogtreecommitdiff
path: root/proto_udp.c
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2014-09-05 17:45:38 +0200
committerTobias Klauser <tklauser@distanz.ch>2014-09-05 17:45:38 +0200
commitc9b7b2e197e51743bd29b75e270865bb141145cb (patch)
tree5a192b18208fe3654e76cbe7f14d12eab2423167 /proto_udp.c
parent253e0e9a1bf6f6f4c3572c1562f838685a8a25d7 (diff)
netsniff-ng: Don't duplicate copyright/bug report/license string
Move the copyright/bug report/license string to an own constant and use it for the output of help() and version() to avoid duplication and prevent the strings from getting out of sync. This makes the text section of netsniff-ng.o slightly smaller: before: text data bss dec hex filename 26998 8 68 27074 69c2 netsniff-ng/netsniff-ng.o after: text data bss dec hex filename 26582 8 68 26658 6822 netsniff-ng/netsniff-ng.o Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'proto_udp.c')
0 files changed, 0 insertions, 0 deletions
lock'. Second, I have removed locking from `pl330_request_channel' and `pl330_release_channel' functions. Function `pl330_request_channel' is only called from `pl330_alloc_chan_resources', so the lock is already held. Function `pl330_release_channel' is called from `pl330_free_chan_resources', which already holds the lock, and from `pl330_del'. Function `pl330_del' is called in an error path of `pl330_probe' and at the end of `pl330_remove', but I assume that there cannot be concurrent accesses to the protected data at those points. Signed-off-by: Iago Abal <mail@iagoabal.eu> Reviewed-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'sound')