diff options
| author | Markus Elfring <[email protected]> | 2017-09-14 14:34:39 +0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2017-10-27 14:07:48 +0200 |
| commit | 7e11d5027b1fed5bbd0d74842a0a60381a2be823 (patch) | |
| tree | 9b7ca6ac8afd35f437d6c5b26c2b09317cfe5b5e /tools/perf/scripts/python | |
| parent | 5bf24e08b685d862f1249987a6d3423b42989622 (diff) | |
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 <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions