Deductions & credits

you must have identical shares purchased at some other time.
The basis in those shares has been adjusted up to compensate you for the inability to take the loss now.