7bb4b07057
Current code does not close 'fd' on function exit, leaking resources. Fixes: 2ea6f76aff40 ("qede: add core driver") Signed-off-by: Yong Wang <wang.yong19@zte.com.cn> Acked-by: Harish Patil <harish.patil@qlogic.com>