From b1bd58e448f28531207124eea3fd43b81d6f8d06 Mon Sep 17 00:00:00 2001 From: Yijing Wang Date: Fri, 25 Jan 2013 09:12:31 -0700 Subject: [PATCH] PCI: Consolidate "next-function" functions There are several next_fn functions (no_next_fn, next_trad_fn, next_ari_fn); consolidate them in next_fn() to simplify the code. [bhelgaas: make next_fn() static, rework control flow] Signed-off-by: Yijing Wang Signed-off-by: Jiang Liu Signed-off-by: Bjorn Helgaas --- Reading git-format-patch failed