From: Oded Gabbay <oded.gab...@gmail.com> Sent: Monday, 8 July 2019 13:44
> The current code checks if the user context pointer is NULL or not to > display the number of open file descriptors of a device. However, that > variable (user_ctx) will eventually go away as the driver will support > multiple processes. Instead, the driver can use the atomic counter of > the open file descriptors which the driver already maintains. > > Signed-off-by: Oded Gabbay <oded.gab...@gmail.com> Reviewed-by: Tomer Tayar <tta...@habana.ai>