Remove unused local variable.
This commit is contained in:
parent
ca802a8abe
commit
6e7abcb1f1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=124128
@ -23,14 +23,15 @@
|
||||
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $FreeBSD$
|
||||
*/
|
||||
|
||||
/*
|
||||
* Print information about system device configuration.
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__FBSDID("$FreeBSD$");
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <err.h>
|
||||
#include <stdio.h>
|
||||
@ -103,11 +104,9 @@ int
|
||||
print_device_rman_resources(struct devinfo_rman *rman, void *arg)
|
||||
{
|
||||
struct indent_arg *ia = (struct indent_arg *)arg;
|
||||
struct devinfo_dev *dev;
|
||||
int indent, i;
|
||||
|
||||
indent = ia->indent;
|
||||
dev = (struct devinfo_dev *)ia->arg;
|
||||
|
||||
/* check whether there are any resources matching this device */
|
||||
ia->indent = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user