Alter the cost basis to be the same as the proceeds, which will remove the loss without showing income.