mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 06:09:23 -04:00
IB/ocrdma: Remove unneeded conversions to bool
Found with scripts/coccinelle/misc/boolconv.cocci. Signed-off-by: Andrew F. Davis <afd@ti.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
This commit is contained in:
parent
54a6d63f14
commit
8b0c05dc93
1 changed files with 1 additions and 1 deletions
|
|
@ -461,7 +461,7 @@ retry:
|
|||
static inline int is_ucontext_pd(struct ocrdma_ucontext *uctx,
|
||||
struct ocrdma_pd *pd)
|
||||
{
|
||||
return (uctx->cntxt_pd == pd ? true : false);
|
||||
return (uctx->cntxt_pd == pd);
|
||||
}
|
||||
|
||||
static int _ocrdma_dealloc_pd(struct ocrdma_dev *dev,
|
||||
|
|
|
|||
Loading…
Reference in a new issue