mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-12-27 13:30:45 -05:00
firewire: core: remove useless lockdep_assert_held()
The bm_work work item should be scheduled after holding fw_card reference counting. At a commit25feb1a96e("firewire: core: use cleanup function in bm_work"), I misinterpreted it as fw_card spinlock and inserted lockdep_assert_hold() wrongly. This commit removes the useless line. Fixes:25feb1a96e("firewire: core: use cleanup function in bm_work") Link: https://lore.kernel.org/r/20250911221312.678076-1-o-takashi@sakamocchi.jp Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
This commit is contained in:
@@ -294,8 +294,6 @@ static void bm_work(struct work_struct *work)
|
||||
int expected_gap_count, generation, grace;
|
||||
bool do_reset = false;
|
||||
|
||||
lockdep_assert_held(&card->lock);
|
||||
|
||||
spin_lock_irq(&card->lock);
|
||||
|
||||
if (card->local_node == NULL) {
|
||||
|
||||
Reference in New Issue
Block a user