We have an employee that was laid off because his performance was unsatisfactory. His notice period is 3 months. We were hoping, he would at least do some trivial, but time-consuming tasks in that 3 months.
However, it looks like he suddenly has lost the ability to produce more than 10 lines of code that would compile. He does come to work on time, he doesn't browse random sites or do anything not work-related except visiting the restroom. He is never drunk during working hours, but he seems to sleep with his eyes open, waking up in random intervals to type some line of the code that doesn't make any sense.
Is there any way to put him under the pressure to either do anything useful or face immediate termination? Or he's smart enough not to get any legal reason for doing that, and we should simply let him not come to the office and search for new work instead, so that he doesn't block a desk, which is what he probably aims for?