Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

staging: kpc2000: kpc_i2c: Remove commented code

Remove some commented out code.

Signed-off-by: Jamal Shareef <jamal.k.shareef@gmail.com>
Link: https://lore.kernel.org/r/c101a2ff94b3d5dcd467407bfa083679f3bbc612.1572293975.git.jamal.k.shareef@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Jamal Shareef and committed by
Greg Kroah-Hartman
09ef6fde 9535e71e

-3
-3
drivers/staging/kpc2000/kpc2000_i2c.c
··· 144 144 145 145 status &= STATUS_FLAGS; 146 146 if (status) { 147 - //dev_dbg(&priv->adapter.dev, "Clearing status flags (%02x)\n", status); 148 147 outb_p(status, SMBHSTSTS(priv)); 149 148 status = inb_p(SMBHSTSTS(priv)) & STATUS_FLAGS; 150 149 if (status) { ··· 525 526 } 526 527 527 528 if (block) { 528 - //ret = 0; 529 529 dev_dbg(&priv->adapter.dev, " [acc] block: yes\n"); 530 530 ret = i801_block_transaction(priv, data, read_write, size, 531 531 hwpec); ··· 680 682 /* Retry up to 3 times on lost arbitration */ 681 683 priv->adapter.retries = 3; 682 684 683 - //snprintf(priv->adapter.name, sizeof(priv->adapter.name), "Fake SMBus I801 adapter at %04lx", priv->smba); 684 685 snprintf(priv->adapter.name, sizeof(priv->adapter.name), 685 686 "Fake SMBus I801 adapter"); 686 687