Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

firewire: core: remove useless lockdep_assert_held()

The bm_work work item should be scheduled after holding fw_card reference
counting. At a commit 25feb1a96e21 ("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: 25feb1a96e21 ("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>

-2
-2
drivers/firewire/core-card.c
··· 294 294 int expected_gap_count, generation, grace; 295 295 bool do_reset = false; 296 296 297 - lockdep_assert_held(&card->lock); 298 - 299 297 spin_lock_irq(&card->lock); 300 298 301 299 if (card->local_node == NULL) {