]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit - drivers/fpga/fpga-mgr.c
fpga manager: remove unnecessary null pointer checks
authorAlan Tull <atull@opensource.altera.com>
Thu, 22 Oct 2015 17:38:38 +0000 (12:38 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 Oct 2015 23:49:44 +0000 (16:49 -0700)
commit92d94a7ec552fafaa036fdb04d0894d6c444cafb
treefc240466f1bf3079934ba839c3b82656035b7e9f
parent654ba4cc0f3ed7c0f08bfb39f66059d8c42943ee
fpga manager: remove unnecessary null pointer checks

Remove unnecessary null pointer checks.  We want the caller of
these functions to do their own pointer checks.  Add some
comments to document this.

Signed-off-by: Alan Tull <atull@opensource.altera.com>
Reviewed-by: Moritz Fischer <moritz.fischer@ettus.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/fpga/fpga-mgr.c