ChangeSet 1.930.159.2, 2003/06/20 14:22:23-07:00, greg@kroah.com [PATCH] USB: remove stupid conversions and use of floating point from aiptek.c drivers/usb/aiptek.c | 11 ++--------- 1 files changed, 2 insertions(+), 9 deletions(-) diff -Nru a/drivers/usb/aiptek.c b/drivers/usb/aiptek.c --- a/drivers/usb/aiptek.c Fri Jun 27 16:27:28 2003 +++ b/drivers/usb/aiptek.c Fri Jun 27 16:27:28 2003 @@ -969,16 +969,9 @@ char *out = page; struct aiptek *aiptek = data; - int inchX = aiptek->features->x_max / 375 * 100; - int inchY = aiptek->features->y_max / 375 * 100; - int mmX = (int) ((double) aiptek->features->x_max / 14.8); - int mmY = (int) ((double) aiptek->features->y_max / 14.8); - out += - sprintf(out, "Aiptek Tablet (%dx%d, %d.%02dx%d.%02d\", %dx%dmm)\n", - aiptek->features->x_max, aiptek->features->y_max, - inchX / 100, inchX % 100, inchY / 100, inchY % 100, mmX, - mmY); + sprintf(out, "Aiptek Tablet (%dx%d)\n", + aiptek->features->x_max, aiptek->features->y_max); out += sprintf(out,