Skip to content

Commit

Permalink
srp_daemon: Minor code cleanup
Browse files Browse the repository at this point in the history
Remove an unused member of the structure and a duplicated line.

Signed-off-by: Sergey Gorenko <[email protected]>
Reviewed-by: Max Gurtovoy <[email protected]>
  • Loading branch information
SergeyGorenko committed Mar 16, 2023
1 parent 36256b8 commit e064509
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion srp_daemon/srp_daemon.c
Original file line number Diff line number Diff line change
Expand Up @@ -1883,7 +1883,6 @@ static void umad_resources_init(struct umad_resources *umad_res)
{
umad_res->portid = -1;
umad_res->agent = -1;
umad_res->agent = -1;
umad_res->port_sysfs_path = NULL;
}

Expand Down
1 change: 0 additions & 1 deletion srp_daemon/srp_daemon.h
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,6 @@ struct resources {
pthread_t trap_thread;
pthread_t async_ev_thread;
pthread_t reconnect_thread;
pthread_t timer_thread;
};

struct srp_ib_user_mad {
Expand Down

0 comments on commit e064509

Please sign in to comment.