Re: [PATCH] x86, boot: add hex output for debugging

From: Andi Kleen
Date: Fri Oct 31 2014 - 13:44:20 EST


> > +void __puthex(unsigned long value)
> > +{
> > + char alpha[2] = "0";
> > + int bits;
> > + unsigned char byte;
>
> what is 'byte' for? (unused)

Well the whole function is unused. We don't normally add unused functions
to the code because they bitrot too easily.

If you need it please just patch it in yourself.

-Andi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/