diff options
| author | Markus Elfring <elfring@users.sourceforge.net> | 2017-09-14 14:34:39 +0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2017-10-27 14:07:48 +0200 |
| commit | 7e11d5027b1fed5bbd0d74842a0a60381a2be823 (patch) | |
| tree | 9b7ca6ac8afd35f437d6c5b26c2b09317cfe5b5e /tools/perf/scripts/python | |
| parent | media: cec-pin.h: move non-kAPI parts into cec-pin-priv.h (diff) | |
| download | linux-7e11d5027b1fed5bbd0d74842a0a60381a2be823.tar.gz linux-7e11d5027b1fed5bbd0d74842a0a60381a2be823.zip | |
media: tm6000: cleanup trival coding style issues
- Delete seven error messages for a failed memory allocation
- Adjust seven checks for null pointers
- Use common error handling code in tm6000_usb_probe()
- Adjust jump targets so that the function "kfree" will be always called
with a non-null pointer.
- Delete an initialisation for the local variable "dev"
which became unnecessary with this refactoring.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
