On Thu, 22 May 2008 13:48:38 -0700 David Brownell <[EMAIL PROTECTED]> wrote:
> + /* ... after we unbound from the underlying device? */ > + spin_lock_irq(&spidev->spi_lock); > + dofree = (spidev->spi == NULL); > + spin_unlock_irq(&spidev->spi_lock); > + > + if (dofree) > + kfree(spidev); that's very weird-looking code. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ spi-devel-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/spi-devel-general
