The patch titled spidernet: remove unused variable has been added to the -mm tree. Its filename is spidernet-remove-unused-variable.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: spidernet: remove unused variable From: Linas Vepstas <linas@xxxxxxxxxxxxxx> Remove unused variable; this makes code easier to read. Tweak commentary. Signed-off-by: Linas Vepstas <linas@xxxxxxxxxxxxxx> Cc: James K Lewis <jklewis@xxxxxxxxxx> Cc: Arnd Bergmann <arnd@xxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- drivers/net/spider_net.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff -puN drivers/net/spider_net.c~spidernet-remove-unused-variable drivers/net/spider_net.c --- a/drivers/net/spider_net.c~spidernet-remove-unused-variable +++ a/drivers/net/spider_net.c @@ -341,17 +341,16 @@ spider_net_free_rx_chain_contents(struct * @card: card structure * @descr: descriptor to re-init * - * return 0 on succes, <0 on failure + * Return 0 on succes, <0 on failure. * - * allocates a new rx skb, iommu-maps it and attaches it to the descriptor. - * Activate the descriptor state-wise + * Allocates a new rx skb, iommu-maps it and attaches it to the + * descriptor. Mark the descriptor as activated, ready-to-use. */ static int spider_net_prepare_rx_descr(struct spider_net_card *card, struct spider_net_descr *descr) { dma_addr_t buf; - int error = 0; int offset; int bufsize; @@ -379,7 +378,7 @@ spider_net_prepare_rx_descr(struct spide (SPIDER_NET_RXBUF_ALIGN - 1); if (offset) skb_reserve(descr->skb, SPIDER_NET_RXBUF_ALIGN - offset); - /* io-mmu-map the skb */ + /* iommu-map the skb */ buf = pci_map_single(card->pdev, descr->skb->data, SPIDER_NET_MAX_FRAME, PCI_DMA_FROMDEVICE); descr->buf_addr = buf; @@ -394,7 +393,7 @@ spider_net_prepare_rx_descr(struct spide SPIDER_NET_DMAC_NOINTR_COMPLETE; } - return error; + return 0; } /** _ Patches currently in -mm which might be from linas@xxxxxxxxxxxxxx are origin.patch hvcs-char-driver-janitoring-move-block-of-code.patch spidernet-dma-coalescing.patch spidernet-add-net_ratelimit-to-suppress-long-output.patch spidernet-rx-locking.patch spidernet-refactor-rx-refill.patch spidernet-rx-skb-mem-leak.patch spidernet-another-skb-mem-leak.patch spidernet-cleanup-return-codes.patch spidernet-rx-refill.patch spidernet-merge-error-branches.patch spidernet-remove-unused-variable.patch spidernet-rx-chain-tail.patch spidernet-turn-rx-irq-back-on.patch spidernet-memory-barrier.patch spidernet-avoid-possible-rx-chain-corruption.patch spidernet-rx-debugging-printout.patch spidernet-rework-rx-linked-list.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html