The quick-fix removes the redundant assignment.
Example:
fun test() { var bar = 1 bar = bar }
After the quick-fix is applied:
fun test() { var bar = 1 }