davidker / unisys_attic

Stale branches from unisys.git go here.
Other
0 stars 0 forks source link

[CAT] [MODERATE] visorbus: visorbus_main.c: remove extra check #36

Open davidker opened 7 years ago

davidker commented 7 years ago

In the functions visorbus_release_device and visorbus_remove_instance, it checks to see if dev->visorchannel is valid. Since dev->visorchannel is checked in visorchannel_destroy, the check here is a duplicate, remove it.

wadgaonkarsam commented 7 years ago

Branch: codeathon-wadgaosl Commit: cffc3bac7350ffe269144ac044dc1c38918a1ef9 Checkpatch: Passed T710-W1-AutoTest: Passed