IB/umad: Do not check status of nonseekable_open()
authorParav Pandit <parav@mellanox.com>
Tue, 22 Jan 2019 06:31:20 +0000 (08:31 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Thu, 24 Jan 2019 16:22:29 +0000 (09:22 -0700)
commit039d713a59c8fcfdf0f89efcce131e15a34284e8
treec73d6d168025b3db58df627e43794a914aad6b5a
parentee848721f60d87c5fd27f0a29d5fc570ff0780be
IB/umad: Do not check status of nonseekable_open()

As the comment block of nonseekable_open() describes, nonseekable_open()
can never fail. Several places in kernel depend on this behavior.
Therefore, simplify the umad module to depend on this basic kernel
functionality.

Signed-off-by: Parav Pandit <parav@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/core/user_mad.c